﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace RedSand.Site.Models
{
    public class ReplyInfo
    {
        [Key]
        [HiddenInput(DisplayValue = false)]
        [Display(Name = "ReplyID")]
        public int ReplyID { get; set; }

        [Display(Name = "Content")]
        public string Content { get; set; }

        [Display(Name = "CreateDate")]
        [DataType(DataType.Date)]
        public DateTime? CreateDate { get; set; }

        [Display(Name = "UserID")]
        public int? UserID { get; set; }

       
        [Display(Name = "NewsID")]
        public int NewsID { get; set; }

        [Display(Name = "Status")]
        public byte? Status { get; set; }

        [Display(Name = "Order")]
        public int? Order { get; set; }
    }
    public class ReplyFullInfo : ReplyInfo
    {
        [Display(Name = "Username")]
        public string Username { get; set; }

        [Display(Name = "Avatar")]
        public string Avatar { get; set; }
    }
}
